package com.rainy.sso.client.service;
import com.rainy.sso.client.entity.Role;
import java.util.List;
import java.util.Set;

/**
 * @author liuqin on 2017-12-21 14:26:10
 */
public interface RoleService {

    List<Role> list(Long offset, Long limit);

    Long count(Long offset, Long limit);

    Role getRoleById(Long id);

    void update(Role entity);

    void save(Role entity);

    void delete(Long id);

    Set<Role> queryRoleByIds(List<Long> ids);
}